bin_PROGRAMS = spasm

spasm_SOURCES = \
	big.c \
	big.h \
	console.c \
	console.h \
	directive.c \
	directive.h \
	export.c \
	main.c \
	opcodes.c \
	opcodes.h \
	pass_one.c \
	pass_one.h \
	pass_two.c \
	pass_two.h \
	preop.c \
	preop.h \
	utils.c \
	utils.h \
	spasm.h \
	parser/expand_buf.c \
	parser/expand_buf.h \
	parser/hash.c \
	parser/hash.h \
	parser/list.c \
	parser/list.h \
	parser/parser.c \
	parser/parser.h \
	parser/storage.c \
	parser/storage.h

spasm_CFLAGS = -Wall $(WABBITCODE_CFLAGS) \
	-DWITH_REUSABLES -DUSE_GMP -I . -I parser

spasm_LDADD = -lm -lgmp -lcrypto
